﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RXY_Mall.Application.AllFinance.Dto
{
    public class UserWithdrawalDto
    {
        public int id { get; set; }
        public int user_id { get; set; }
        public string nick_name { get; set; }
        public string user_name { get; set; }
        public string real_name { get; set; }
        public string order_no { get; set; }
        public string bank_name { get; set; }
        public string bank_address { get; set; }
        public string bank_branch { get; set; }
        public string card_no { get; set; }
        public string account_holder { get; set; }
        public string mobile { get; set; }
        public byte type { get; set; }
        public byte status { get; set; }
        public decimal money { get; set; }
        public decimal service_fee { get; set; }
        public decimal amount { get; set; }
        public DateTime add_time { get; set; }
        public DateTime? update_time { get; set; }
        public string remark { get; set; }
        public string dismiss_reason { get; set; }
    }
    public class ShopWithdrawalDto
    {
        public int id { get; set; }
        public int shop_id { get; set; }
        public string shop_name { get; set; }
        public string company_name { get; set; }
        public string bank_name { get; set; }
        public string bank_cardno { get; set; }
        public string account_holder { get; set; }
        public decimal money { get; set; }
        public decimal fee_rate { get; set; }
        public decimal fee { get; set; }

        //public int handling_id { get; set; }
        public string handling_time { get; set; }
        //public int manager_id { get; set; }
        public DateTime add_time { get; set; }
        /// <summary>
        /// 状态（1已申请，2已取消，3已通过，4已拒绝）
        /// </summary>
        public byte status { get; set; }
        public string remark { get; set; }
        /// <summary>
        /// FW+时间(yyMMddHHmmdd)+6位随机数
        /// </summary>
        public string withdrawal_no { get; set; }
    }
    public class UserVipDto
    {
        public int id { get; set; }
        public string order_no { get; set; }
        public int user_id { get; set; }
        public string user_name { get; set; }
        public string nick_name { get; set; }
        public string real_name { get; set; }
        public DateTime? start_time { get; set; }
        public DateTime? end_time { get; set; }

        public int buy_type { get; set; }
        public int buy_year { get; set; }
        public int pay_type { get; set; }
        public decimal year_money { get; set; }
        public string pay_no { get; set; }
        public DateTime? pay_time { get; set; }
        public byte status { get; set; }
        public DateTime add_time { get; set; }
        public string remark { get; set; }
        public decimal amount { get; set; }
    }

}
